package AdapterPattern.example1;

public class BookAdapter extends Print {
    private Book book;

    public BookAdapter(Book book) {
        this.book = book;
    }

    @Override
    public void printWeak() {
        book.showWithParen();
    }

    @Override
    public void printStrong() {
        book.showWithAster();
    }
}
